package org.theonept.travian.model;

import org.theonept.travian.t4a.R;

public enum EnumTroupeNature {
	RAT("u31", R.drawable.nature1), ARAIGNEE("u32", R.drawable.nature2), SERPENT(
			"u33", R.drawable.nature3), CHAUVE_SOURIS("u34", R.drawable.nature4), SANGLIER(
			"u35", R.drawable.nature5), LOUP("u36", R.drawable.nature6), OURS(
			"u37", R.drawable.nature7), CROCODILE("u38", R.drawable.nature8), TIGRE(
			"u39", R.drawable.nature9), ELEPHANT("u40", R.drawable.nature10);
	private String code;
	private int idImage;
	private String libele;
	private EnumTypeUnite typeUnite;

	private EnumTroupeNature(String code, int idImage) {
		this.code = code;
		this.setIdImage(idImage);

	}

	/**
	 * @return the libele
	 */
	public String getLibele() {
		return libele;
	}

	/**
	 * @param libele
	 *            the libele to set
	 */
	public void setLibele(String libele) {
		this.libele = libele;
	}

	/**
	 * @return the idImage
	 */
	public int getIdImage() {
		return idImage;
	}

	/**
	 * @param idImage
	 *            the idImage to set
	 */
	public void setIdImage(int idImage) {
		this.idImage = idImage;
	}

	/**
	 * @return the code
	 */
	public String getCode() {
		return code;
	}

	/**
	 * @param code
	 *            the code to set
	 */
	public void setCode(String code) {
		this.code = code;
	}

}
